import matplotlib.pyplot as plt

from cion.emccd.camera import EMCCDCamera
from cion.emccd.capturing import capture_image

# conf

dll_file_path = "<fake>"
# dll_file_path = "lib/atmcd64d.dll"

#  run

if __name__ == '__main__':
    with EMCCDCamera.open(dll_file_path) as camera:
        image = capture_image(camera, exposure_time=0.001)
        plt.imshow(image)
        plt.show()
